package com.iknow.xmpp.service;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public class PrivacyListItem
  implements Parcelable
{
  public static final Parcelable.Creator<PrivacyListItem> CREATOR = new Parcelable.Creator()
  {
    public PrivacyListItem createFromParcel()
    {
      return new PrivacyListItem(paramParcel);
    }

    public PrivacyListItem[] newArray()
    {
      return new PrivacyListItem[paramInt];
    }
  };
  private int mType;
  private String mValue;

  public PrivacyListItem(int paramInt, String paramString)
  {
    this.mType = paramInt;
    this.mValue = paramString;
  }

  public PrivacyListItem(Parcel paramParcel)
  {
    readFromParcel(paramParcel);
  }

  public int describeContents()
  {
    return 0;
  }

  public int getType()
  {
    return this.mType;
  }

  public String getValue()
  {
    return this.mValue;
  }

  public void readFromParcel(Parcel paramParcel)
  {
    this.mType = paramParcel.readInt();
    this.mValue = paramParcel.readString();
  }

  public void setType(int paramInt)
  {
    this.mType = paramInt;
  }

  public void setValue(String paramString)
  {
    this.mValue = paramString;
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    paramParcel.writeInt(this.mType);
    paramParcel.writeString(this.mValue);
  }
}